<!DOCTYPE HTML>
<html>
<head>
    {include file="common_header"}
    <title>添加管理员</title>
</head>
<body>
<article class="page-container">
    <form class="form form-horizontal"  method="post" enctype="multipart/form-data" action="{:url('add')}">
        <div class="row cl">
            <label class="form-label col-xs-3 col-xs-offset-1"><span class="c-red">*</span>管理员：</label>
            <div class="formControls col-xs-6">
                <input type="text" class="input-text" value="" placeholder="" id="adminName" name="name" datatype="s2-10" nullmsg="请输入2到10字符串" errormsg="请输入2到10字符串">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-xs-offset-1"><span class="c-red"></span>管理员头像：</label>
            <div class="formControls col-xs-6">
                <input type="file" class="input-text"  placeholder="" id="coverFile" name="coverFile">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3 col-xs-offset-1"><span class="c-red">*</span>初始密码：</label>
            <div class="formControls col-xs-6 col-sm-9">
                <input type="password" class="input-text" autocomplete="off" value="" placeholder="密码" id="password" name="pass" datatype="*" nullmsg="请填写密码">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3 col-xs-offset-1"><span class="c-red">*</span>确认密码：</label>
            <div class="formControls col-xs-6 col-sm-9">
                <input type="password" class="input-text" autocomplete="off"  placeholder="确认新密码" datatype="*" nullmsg="请再一次确认您的密码" recheck="pass">
            </div>
        </div>

        <!--<div class="row cl">-->
            <!--<label class="form-label col-xs-3 col-sm-3 col-xs-offset-1"><span class="c-red">*</span>邮箱：</label>-->
            <!--<div class="formControls col-xs-6 col-sm-9">-->
                <!--<input type="text" class="input-text" placeholder="@"  datatype="e" nullmsg="请输入正确的邮箱号"  errormsg="请输入正确的邮箱号" name="email" id="email">-->
            <!--</div>-->
        <!--</div>-->
        <div class="row cl">
            <label class="form-label  col-xs-3 col-sm-3 col-xs-offset-1"><span class="c-red">*</span>角色：</label>
            <div class="formControls col-xs-6 col-sm-9"> <span class="select-box" style="width:150px;">
			<select class="select" name="user_group_id" datatype="*" nullmsg="请选择角色">
                <option value="" selected disabled>请选择角色</option>
                {volist name="list" id="v"}
                	<option value="{$v['id']}">{$v['title']}</option>
                {/volist}
			</select>
			</span> </div>
        </div>
        <!--<div class="row cl">-->
            <!--<label class="form-label  col-xs-3 col-sm-3 col-xs-offset-1">备注：</label>-->
            <!--<div class="formControls col-xs-6 col-sm-9">-->
                <!--<textarea name="" cols="" rows="" class="textarea"  placeholder="说点什么...100个字符以内" dragonfly="true" onKeyUp="$.Huitextarealength(this,100)"></textarea>-->
                <!--<p class="textarea-numberbar"><em class="textarea-length">0</em>/100</p>-->
            <!--</div>-->
        <!--</div>-->
        <div class="row cl pd-20">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
    </form>
</article>
<!--_footer 作为公共模版分离出去-->
{include file="common_footer"}
<!--/_footer 作为公共模版分离出去-->
</body>
</html>